compiler is unable to type-check this expression โ€” how to rewrite this basic expression

join shbcf.ru